/*
 * 计算体指数（3分）
 */

#include <stdio.h>

int main() {
	setbuf(stdout, NULL);

	float height, weight;

	printf("Input weight, height:\n");
	scanf("%f,%f", &weight, &height);

	height *= (float) 0.01;

	printf("weight=%d\n", (int) weight * 2);
	printf("height=%.2f\n", height);
	printf("t=%.2f\n", weight / (height * height));

	return 0;
}